package cn.good.mapper;

import cn.good.pojo.Doctor;
import cn.good.vo.DoctorInfoVO;
import java.util.List;

public interface DoctorMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Doctor record);

    int insertSelective(Doctor record);
    //查询信息
    DoctorInfoVO selectByPrimaryKey(Long id);
    //查询医生列表
    List<Doctor> selectListByUserId(Long userId);

    int updateByPrimaryKeySelective(Doctor record);

    int updateByPrimaryKey(Doctor record);

}